package com.biomatch.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.biomatch.domain.Fingerprint;
import com.biomatch.domain.UserInfo;
import com.biomatch.dto.FingerprintCount;
import com.biomatch.dto.Pagination;

import java.util.List;

public interface FingerprintService {
    IPage<Fingerprint> getFingerprintByPage(Pagination pagination);

    List<Fingerprint> getAllFingerprint();

    Fingerprint saveOrUpdate(Fingerprint fingerprint);

    Fingerprint deleteAllFingerPrints(Fingerprint fingerprint);


    IPage<FingerprintCount> getFingerprintCountAndUsersByPage(Pagination pagination);


    List<Fingerprint> FindFingerPrintsByUser(String userId);

    Fingerprint deleteOneFingerprintById(Fingerprint fingerprint);
}
